
import serial

def match(instruction):

    print("取出{}".format(instruction))

    # ser = serial.Serial()
    # ser.baudrate = 9600
    # ser.port = '/dev/tty8'

    # print(ser)
    # ser.open()
    # print(ser.is_open)

    # n = ser.write('you are my world'.encode('utf-8'))
    # print(n)
    # str = ser.read(n)
    # print(str)
